$count = Model::where('status','=','1')->count();
use Illuminate\Support\Facades\DB; $users = DB::table('users')->count();